package com._5704.website.form;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserForm {
    @NotNull(message = "学号不能为空")
    private String stuId;

    @NotNull(message = "姓名不能为空")
    private String name;

    @NotNull(message = "性别不能为空")
    private String sex;

    @NotNull(message = "学院不能为空")
    private String academy;

    @NotNull(message = "学号不能为空")
    private String major;

    @NotNull(message = "昵称不能为空")
    private String userName;

    @NotNull(message = "简介不能为空")
    private String introduction;

    @NotNull(message = "联系方式不能为空")
    private String connect;
}
